package com.ruoyi.back.domain

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.persistence.GeneratedValue
import javax.persistence.GenerationType
import javax.persistence.Id
import javax.persistence.Table

@TableName("fly_ali_pay_setting")
@ApiModel("支付宝支付参数")
@Table(name = "fly_ali_pay_setting")
data class AliPaySetting(

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @TableId(type = IdType.AUTO)
    var id: Long? = null,

    @ApiModelProperty("是否使用")
    var isUse: Boolean? = true,

    @ApiModelProperty("appId")
    var appId: String? = null,

    @ApiModelProperty("appSecret")
    var appSecret: String? = null,

    @ApiModelProperty("商户私钥")
    var privateKey: String? = null,

    @ApiModelProperty("商户公钥")
    var publicKey: String? = null,
)
